how to add property to object javascript